package objbo.xmlparser.view.interfaces;

import objbo.xmlparser.model.ModelMain;

public class FileInterFace
{
	private ModelMain	model	= null;

	public FileInterFace(ModelMain model)
	{
		this.model = model;
	}

	public void setModel(ModelMain model)
	{
		this.model = model;
	}

	public boolean fileLoad(Object xmlFileName)
	{
		return this.model.getFileConroller().loadDocument(xmlFileName);

	}

	public boolean fileSave(Object xmlFileName)
	{
		return this.model.getFileConroller().saveDocument(xmlFileName);

	}

}
